<?php
class InscriptionConfirmForm extends InscriptionForm{

    public function configure(){
        $this->widgetSchema["confirm"]= new sfWidgetFormInputCheckbox();
        $this->setValidator("confirm", new sfValidatorBoolean(array("required"=>true)));
        /*$this->widgetSchema["capcha"]= new sfWidgetFormReCaptcha(array("public_key"=>"your public key here"));
        $this->setValidator("capcha", new sfValidatorReCaptcha(array("private_key"=>"your public key here")));*/
        $this->useFields(array("confirm"));
        $this->widgetSchema->setLabel("confirm","He leido toda la infomación y doy fe que es correcta");
    }
}
/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
?>
